package com.gzw.shop;

/**
 * Created by JACKYGUO on 2017-03-08.
 */

public class Contans {


    public static final String CAMPAIGN_ID = "campaign_id";

    public static final String WARES = "wares";

    public static final String DES_KEY = "Cniao5_123456";

    public static final String USER_JSON = "user_json";
    public static final String TOKEN = "token";


    public static final int REQUEST_CODE = 0;
    public static final int REQUEST_CODE_PAYMENT = 1;

    public static class API {

        public static final String BASE_URL = "http://112.124.22.238:8081/course_api/";

        public static final String CAMPAIGN_HOME = BASE_URL + "campaign/recommend";

        public static final String WARES_HOT = BASE_URL + "wares/hot";

        public static final String CATEGORY_LIST = BASE_URL + "category/list";

        public static final String BANNER = BASE_URL + "banner/query";

        public static final String WARES_LIST = BASE_URL + "wares/list";

        public static final String WARES_CAMPAIN_LIST = BASE_URL + "wares/campaign/list";

        public static final String WARES_CAMPAIN_DETAIL = BASE_URL + "wares/detail.html";

        public static final String LOGIN = BASE_URL + "auth/login";
        public static final String REG = BASE_URL + "auth/reg";

        public static final String USER_DETAIL = BASE_URL + "user/get?id=1";

        public static final String ORDER_CREATE = BASE_URL + "/order/create";
        public static final String ORDER_COMPLEPE = BASE_URL + "/order/complete";
        public static final String ORDER_LIST = BASE_URL + "order/list";

        public static final String ADDRESS_LIST = BASE_URL + "addr/list";
        public static final String ADDRESS_CREATE = BASE_URL + "addr/create";
        public static final String ADDRESS_UPDATE = BASE_URL + "addr/update";
        public static final String ADDRESS_DEL = BASE_URL + "addr/del";

        public static final String FAVORITE_LIST = BASE_URL + "favorite/list";
        public static final String FAVORITE_CREATE = BASE_URL + "favorite/create";


    }
}
